package com.exam.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author LY
 * @create 2023/10/8 11:46
 * @Description 权限
 */
@TableName("sys_permission")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SysPermission {

    /**id*/
    @TableId(type = IdType.AUTO)
    private Long id;
    /**权限名称*/
    private String permsName;
    /**父菜单id*/
    private Long parentId;
    /**权限标识*/
    private String permsKey;
    /**省略其他字段*/
}
